#!/bin/bash 
#SBATCH -o Result/Result_Ecut.%j.%N.out
#SBATCH -A zhuo
#SBATCH --partition=compute_A
#SBATCH --qos=low
#SBATCH -J Ecut_mpi
#SBATCH --get-user-env
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=28
##SBATCH --mail-type=end
##SBATCH --mail-user=yuanzhuoma@163.com_dd
#SBATCH --time=05:00:00
 
 
#
srun hostname -s | sort -u >slurm.hosts
 
#module load intel/2017.1
#mpiicc -o hellompi.o hellompi.c
mpiexec -n 2 -machinefile slurm.hosts ./main.t > result.txt
rm -rf slurm.hosts 
